Issue 1: Batch Create 10 System account UCODE01-UCODE10 and set the password (the password cannot be the same)#!/bin/bashFor N in $ (seq-w 10)DoUseradd ucode-$necho "$n" |passwd--stdin ucode-$nDone[Email protected] scripts]# sh adduser01.shChanging
Install Oracle 11g in CentOS 6.5
I recently started to learn how to use CentOS and make some records.
References: Install Oracle 11g in Cent OS 6_5 (x86_64)
I. Hardware requirements
1. Memory & swap
Minimum: 1 GB of RAMRecommended: 2 GB of RAM or
See the current date and time in cmd first:@echo offcolor 0aset dt=%datepercenttime%echo %dt%Pause1. Use interception to name (time is 12 hours when the name will appear blank, not rigorous)%date:~0,4%: Represents a 0-bit offset from the
In the REL5 oracle service shell, create an oracle file in/etc/init. d/. How can I get the Java code www.2cto.com #! /Bin/sh # oracle service start or stop shell ORA_HOME =/home/oracle/db/oracle/product/12.1.0/db_1 ORA_OWNER = oracle if [! -F $
Php date processing code
Echo"";Echo date ("Y-m-d", strtotime ("now"), "\ n ";Echo"";Echo date ("Y-m-d", strtotime ("-1 week Monday"), "\ n ";Echo"";Echo date ("Y-m-d", strtotime ("-1 week Sunday"), "\ n
Php output previous day last week last month last quarter
"; Echo date (" Y-m-d ", strtotime (" now ")," \ n "; echo""; Echo date (" Y-m-d ", strtotime ("-1 week Monday ")," \ n "; echo""; Echo date (" Y-m-d ", strtotime ("-1 week Sunday ")," \ n "
"Go" Java formatted output printf exampleTransfer from http://www.cnblogs.com/TankMa/archive/2011/08/20/2146913.html#undefinedimport java.util.Date;/*** Use printf Output*//** Key Technology points* Use Java.io.PrintStream's printf method for
Oracle 11G 64-bit automatic restart and shutdown commands in RHEL (Red Hat Enterprise Linux, the same below) 5.5 64-bit:
Log On As an oracle user and enter:
VI/etc/init. d/Oracle
On the Edit page, add the following content: (assume that the
After Oracle10gR2 is installed in CentOS6.3 and you reactivate it, you will find that Oracle is not started on your own. this is normal because Oracle installation in Linux does not start on your own, you must set relevant parameters. First, we will
After installing Oracle 10g R2 in CentOS 6.3 and restarting it, you will find that Oracle is not started on your own. This is normal because Oracle Installation in Linux does not start on your own, you must set relevant parameters. First, we will
20.1 introduction to shell scripts
Shell is a scripting language.
Logic judgment, loop, and other syntaxes can be used.
Customizable Functions
Shell is a collection of system commands.
Shell scripts can achieve automated O & M, greatly
Technical key: DateFormat class in Java.text Package 1. Get date Formatter public static final DateFormat getdateinstance (int style,locale alocale) This method is used to get the date format objects for the specified style and locale. Parameter
After installing Oracle 10g R2 under CentOS 6.3, you will find that Oracle does not start on its own, which is normal, because installing Oracle under Linux does not start on its own, you have to set the relevant parameters yourself, First, let's
After installing Oracle 10g R2 in centos 6.3 and restarting it, you will find that Oracle is not started on your own. This is normal because Oracle Installation in Linux does not start on your own, you must set relevant parameters. First, we will
CentOS Shell Programming 3 "alarm system" 37th sessionThe first half of the classThe second half of the classThe entire project does not have any architecture, is single-machine, without the concept of server-side and clientJust a simple call to
Alarm SystemFirst, the alarm system main script(Script storage Address:/usr/local/sbin/)1. Create a script to store the directory: mkdir /usr/local/sbin/mon/ 1.1 creating directories for each functional module---storing scripts CD
Requirements: Use the shell to customize a variety of personalized alarm tools, but the need for unified management, standardized management.Idea: Specify a script package that contains the main program, subroutine, configuration file, mail engine,
1. Needs and ideasRequirements: Use the shell to customize a variety of personalized alarm tools, but the need for unified management, standardized management.Idea: Specify a script package that contains the main program, subroutine, configuration
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.